{include file=header.html}
<script language="javascript" type="text/javascript" src="{res file=js/jquery-1.2.6.js}"></script>
<style type="text/css">
.page{float:left;}
</style>
<body>
<div class="sub-body">
<div class="tab_info">
<div class="tab-title-1"  style="width:898px;"><span>{$lang.brand_manage}</span></div>
<table  width="900" cellspacing="0" cellpadding="0" class="tab-display" id="tab-color1">
	<tr>
		<td colspan="6" align="right" style="padding-right:50px;"><a href="{url index.php?app=brand&act=add}" class="add btn-2">{$lang.add_new_brand}</a></td>
	</tr>
      <tr>
        <th width="15%">{$lang.brand_name}</th>
        <th width="10%">{$lang.company_name}</th>
        <th width="25%">{$lang.brand_addr}</th>
        <th width="30%">{$lang.description}</th>
		<th width="10%">{$lang.if_show}</th>
		<th width="10%">{$lang.handle}</th>
      </tr>
	  <!--{foreach from=$brands item=brand}-->
       <tr>
        <td>{$brand.brand_name|escape}</td>
        <td>{$brand.company_name|escape}</td>
        <td>{$brand.brand_addr|escape}</td>
        <td>{$brand.description|escape}</td>
        <td><!--{if $brand.if_show}-->{$lang.yes}<!--{else}-->{$lang.no}<!--{/if}--></td>
		<td><a href="{url app=brand&act=edit&brand_id=$brand.brand_id}">{$lang.edit}</a>&nbsp;<a href="javascript:if(confirm('确认删除此买手吗?')==true){location.href='{url app=brand&act=del&brand_id=$brand.brand_id}';};">{$lang.delete}</a></td>
      </tr>
	  <!--{/foreach}-->
    </table>
    {include file=page.html}
<script language="javascript" type="text/javascript" src="{res file=js/tab_color.js}"></script>
</div></div>
</body>
</html>